package business.service;

import model.User;
import business.exceptions.BusinessServiceException;

public interface UserBusinessService {

	Integer save(final User user) throws BusinessServiceException;

	String getPosition(int id) throws BusinessServiceException;

	User getPerson(int id, String op) throws BusinessServiceException;

	int getMinMaxId(String op) throws BusinessServiceException;

	int insertPerson(User p) throws BusinessServiceException;

	void updatePerson(User p) throws BusinessServiceException;

	void deletePerson(int id) throws BusinessServiceException;

	public User[] searchUser(String user) throws BusinessServiceException;

}
